package com.sky.service;

import com.sky.entity.AddressBook;

import java.util.List;

public interface AddressService {
    void addAddress(AddressBook addressBook);

    List<AddressBook> getAllAddress();

    void setDefaultAddress(AddressBook addressBook);

    AddressBook echo(Long id);

    void update(AddressBook addressBook);

    void deleteById(Long id);

    AddressBook getDefault();
}
